package br.com.mkmts.dao.cadastro;

import java.util.List;

import br.com.mkmts.dao.Dao;
import br.com.mkmts.dto.ClienteDTO;
import br.com.mkmts.model.ClienteEntity;

public interface ClienteDao extends Dao<ClienteEntity, Integer> {

	final String SELECT = "SELECT c FROM ClienteEntity c";
	final String ORDER_BY = "ORDER BY c.dadosPessoa.nome";
	
	List<ClienteDTO> findByFiltroPesquisa(Integer codClienteFiltro, String email, String nomeFiltro, Long telefoneFiltro);
	boolean existCellPhoneClient(ClienteEntity cliente);
	boolean existEmailClient(ClienteEntity cliente);
	boolean existsSaleForClient(Integer id);
	
}
